package com.xd.server.student.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (Student)视图类
 *
 * @author xiaodi
 * @since 2023-10-10 09:04:04
 */

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "com.xd.server.student.vo.StudentVO", description = "VO")
public class StudentVO implements Serializable {
    private static final long serialVersionUID = -36040387353841627L;

    @ApiModelProperty(value = "学号", dataType = "String", required = true, example = "学号")
    private String id;

    @ApiModelProperty(value = "学生姓名", dataType = "String", required = true, example = "学生姓名")
    private String name;

    @ApiModelProperty(value = "学生年龄", dataType = "Integer", example = "2023-10-10 09:04:04")
    private Integer age;

    @ApiModelProperty(value = "学生电话", dataType = "String", required = true, example = "学生电话")
    private String phone;

    @ApiModelProperty(value = "学生出生年月", dataType = "String", example = "2023-10-10 09:04:04")
    private Date birth;

    @ApiModelProperty(value = "所属班级", dataType = "String", required = true, example = "所属班级")
    private String gid;


}
